<?php
	require_once('classes/Doodle.php');
	require_once('classes/ReportableWrapper.php');
	require_once('classes/XMLReporter.php');
	$id = isset($_REQUEST['id'])?$_REQUEST['id']:10001;
	$doodle = new reportableWrapper(Doodle::findById($id), 'Doodle');
	$xml = new XMLReporter();
	echo($doodle->report($xml));
?>